Optimal. Leaf size=110 \[ -\frac{2 b^2 (5 A+3 C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 b (5 A+3 C) \sin (c+d x) \sqrt{b \sec (c+d x)}}{5 d}+\frac{2 C \tan (c+d x) (b \sec (c+d x))^{3/2}}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0825354, antiderivative size = 110, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16, Rules used = {4046, 3768, 3771, 2639} \[ -\frac{2 b^2 (5 A+3 C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 b (5 A+3 C) \sin (c+d x) \sqrt{b \sec (c+d x)}}{5 d}+\frac{2 C \tan (c+d x) (b \sec (c+d x))^{3/2}}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4046
Rule 3768
Rule 3771
Rule 2639
Rubi steps
\begin{align*} \int (b \sec (c+d x))^{3/2} \left (A+C \sec ^2(c+d x)\right ) \, dx &=\frac{2 C (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}+\frac{1}{5} (5 A+3 C) \int (b \sec (c+d x))^{3/2} \, dx\\ &=\frac{2 b (5 A+3 C) \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 C (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}-\frac{1}{5} \left (b^2 (5 A+3 C)\right ) \int \frac{1}{\sqrt{b \sec (c+d x)}} \, dx\\ &=\frac{2 b (5 A+3 C) \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 C (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}-\frac{\left (b^2 (5 A+3 C)\right ) \int \sqrt{\cos (c+d x)} \, dx}{5 \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}\\ &=-\frac{2 b^2 (5 A+3 C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 b (5 A+3 C) \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 C (b \sec (c+d x))^{3/2} \tan (c+d x)}{5 d}\\ \end{align*}
Mathematica [C] time = 1.24154, size = 184, normalized size = 1.67 \[ \frac{4 i e^{i (c+d x)} \cos ^3(c+d x) (b \sec (c+d x))^{3/2} \left (A+C \sec ^2(c+d x)\right ) \left ((5 A+3 C) \left (1+e^{2 i (c+d x)}\right )^{5/2} \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{3}{4},\frac{7}{4},-e^{2 i (c+d x)}\right )-3 \left (5 A \left (1+e^{2 i (c+d x)}\right )^2+C \left (8 e^{2 i (c+d x)}+3 e^{4 i (c+d x)}+1\right )\right )\right )}{15 d \left (1+e^{2 i (c+d x)}\right )^2 (A \cos (2 (c+d x))+A+2 C)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.273, size = 670, normalized size = 6.1 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (C \sec \left (d x + c\right )^{2} + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (C b \sec \left (d x + c\right )^{3} + A b \sec \left (d x + c\right )\right )} \sqrt{b \sec \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (C \sec \left (d x + c\right )^{2} + A\right )} \left (b \sec \left (d x + c\right )\right )^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]